package vn.orderonline.core.dao.entity;

import java.sql.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "MENU_FOOD")
public class MenuFood implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Integer menuFoodId;
	private String menuFoodName;
	private Date createTime;
	private Date updateTime;
	
	public MenuFood() {
		
	}
	
	@Id
	@GeneratedValue
	@Column(name = "MENU_FOOD_ID", unique = true, nullable = false)
	public Integer getMenuFoodId() {
		return menuFoodId;
	}
	
	public void setMenuFoodId(Integer menuFoodId) {
		this.menuFoodId = menuFoodId;
	}
	
	@Column(name = "MENU_FOOD_NAME", nullable = false, length = 100)
	public String getMenuFoodName() {
		return menuFoodName;
	}
	
	public void setMenuFoodName(String menuFoodName) {
		this.menuFoodName = menuFoodName;
	}
	
	@Column(name = "CREATE_TIME", nullable = false)
	public Date getCreateTime() {
		return createTime;
	}
	
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	
	@Column(name = "UPDATE_TIME")
	public Date getUpdateTime() {
		return updateTime;
	}
	
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	
}
